package com.whfc.common.enums;

/**
 * @Description: 安全帽报警类型(1 - 脱帽 2 - 跌倒 3 - 坠落)
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/7/22 11:47
 */
public enum WarnType {

    DOFF(1, "脱帽"),

    FALL(2, "跌倒"),

    DROP(3, "坠落"),

    SOS(4, "SOS"),

    STILL(5, "长时间静止");

    private Integer value;

    private String desc;

    WarnType(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

}
